package com.wanmait.heating.pojo;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;
import java.util.Date;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class Maintain implements Serializable {
    private Integer id;

    /**
	* 报修单id
	*/
    private Integer billId;

    /**
	* 工人上报情况
	*/
    private String report;

    /**
	* 备注（工人提交的备注）
	*/
    private String remarks;

    /**
	* 零件表id
	*/
    private Integer partId;

    /**
	* 进程id
	*/
    private Integer progressId;

    /**
	* 工人上报的时间节点
	*/
    private Date time;

    /**
	* 目前状态（1：可用 0：不可用）
	*/
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBillId() {
        return billId;
    }

    public void setBillId(Integer billId) {
        this.billId = billId;
    }

    public String getReport() {
        return report;
    }

    public void setReport(String report) {
        this.report = report;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getPartId() {
        return partId;
    }

    public void setPartId(Integer partId) {
        this.partId = partId;
    }

    public Integer getProgressId() {
        return progressId;
    }

    public void setProgressId(Integer progressId) {
        this.progressId = progressId;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", billId=").append(billId);
        sb.append(", report=").append(report);
        sb.append(", remarks=").append(remarks);
        sb.append(", partId=").append(partId);
        sb.append(", progressId=").append(progressId);
        sb.append(", time=").append(time);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}